package com.xd.dubbo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * @author COFFICE
 * @version 1.0.0
 * @date 2019/3/9
 * @Description TODO
 */
@Data
@AllArgsConstructor
public class OrderEntity implements Serializable {
    public OrderEntity(String tradeNo, Date createTime) {
        this.tradeNo = tradeNo;
        this.createTime = createTime;
    }

    private int id;
    private String tradeNo;
    private Date createTime;
    private Timestamp updateTime;
}
